package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.Task;

import com.ebring.shareEducation.utils.RspMsg;

public interface TaskService {
    /**
     * 查找所有菜单
     */
    RspMsg<Task> selectTask();

    /**
     * 根据菜单id修改菜单
     */
    RspMsg<Task> updateTask(Task task);

	/**
     * 通过ID删除菜单
     */
    RspMsg<Task> deleteById(String taskId);

    /**
     * 新增菜单
     */
    RspMsg<Task> insertTask(Task task);

    /**
     * 查询用户拥有的菜单权限
     */

    RspMsg<Task> selectUTask(String taskId);











}
